package com.qf.shop.dao;


import com.qf.shop.entity.Type;

import java.sql.SQLException;
import java.util.List;

public interface TypeDao {

    List<Type> selectAll() throws SQLException;

    int deleteTypeByTid(String tid);

    int updateTypeByTid(Type type);

    int insertType(String tname, String tinfo);
}
